AC_INIT([umem], [1.0], [], [umem])
AM_INIT_AUTOMAKE([dist-bzip2])

AC_PROG_CC
AM_PROG_AS
AC_PROG_LIBTOOL

AC_C_INLINE

AC_CHECK_HEADERS([sys/mman.h sys/sysmacros.h sys/time.h])
AC_CHECK_FUNCS([issetugid])

AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile Doxyfile umem.spec])
AC_SEARCH_LIBS(dlopen, dl)
AC_OUTPUT
